<template>
<div>
   <ProForm ref="dialogForm" :config="addeditConfig" :echo="echo"></ProForm>
             <!-- <el-button>取消</el-button>
          <el-button type="primary" @click="confirm" color="#081F42">
            確定
          </el-button> -->
</div>
</template>

<script setup>
import { ref } from 'vue' 
import {addeditConfig} from './formConfig'

const props = defineProps({
  echo:Object
})
const dialogForm = ref('');
const DialogCofirm = () => {
  dialogForm.value.submit((e) => {
    console.log(e);
  });
};

const aaa = ref('f')
defineExpose({
    DialogCofirm,dialogForm,
})

</script>

<style lang='less'  scoped>

</style>